import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
// 初始化样式
import "@/css/base.css";

// 1. 引入你需要的组件
import { Tabbar, TabbarItem, PullRefresh, List, Cell, Button, NavBar, Progress, Icon, Col, Row, Checkbox } from "vant";
// 2. 引入组件样式
import "vant/lib/index.css";
// 3. 使用组件
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Cell);
Vue.use(Button);
Vue.use(NavBar);
Vue.use(Progress);
Vue.use(Icon);
Vue.use(Col);
Vue.use(Row);
Vue.use(Checkbox);

Vue.config.productionTip = false;

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
